package com.example.constants;

import org.springframework.stereotype.Component;

@Component
public class Constants {
    //定义 fanout 类型的交换机名称
    public static final String MY_FANOUT_EXCHANGE = "springbootFanoutExchange";

    //定义 direct 类型的交换机名称
    public static final String MY_DIRECT_EXCHANGE = "springbootDirectExchange";

    //定义 fanout 类型的交换机,用来测试队列过长
    public static final String MY_LENGTH_FANOUT_EXCHANGE = "springbootLengthFanoutExchange";
    public static final String MY_TTL_FANOUT_EXCHANGE = "springbootTTLFanoutExchange";

    //定义 死信 交换机
    public static final String MY_DLX_DIRECT_EXCHANGE = "springbootDLXDirectExchange";

    //定义 短信 队列名称
    public static final String MY_SMS_QUEUE_NAME = "springbootSmsQueue";
    //定义 邮件 队列名称
    public static final String MY_EMAIL_QUEUE_NAME = "springbootEmailQueue";

    //定义 长度 队列名称
    public static final String MY_LENGTH_QUEUE_NAME = "springbootLengthQueue";
    //定义 过期 队列名称
    public static final String MY_TTL_QUEUE_NAME = "springbootTTLQueue";

    //定义 死信 队列
    public static final String MY_DLX_QUEUE_NAME = "springbootDLXQueue";

}
